package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户钱包表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_member_money")
@ApiModel(value = "XhMemberMoney对象", description = "用户钱包表")
public class XhMemberMoney implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户id")
    private Integer memberId;

    @ApiModelProperty("押金金额")
    private BigDecimal deposit;

    @ApiModelProperty("余额")
    private BigDecimal balance;

    @ApiModelProperty("赠送金额")
    private BigDecimal giftBalance;

    @ApiModelProperty("满电积分")
    private Integer coin;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
